html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
}

html {
  font-size: 100px;
}

.background {
  height: 100%;
  width: 100%;
  background-image: url('../img/loginbg.png');
  background-size: 100% 100%;
}

.login-content {
  width: 4.64rem;
  height: 4.95rem;
  background-image: url('../img/loginbg1.png');
  background-size: 100% 100%;
  position: absolute;
  translate: 50% 50%;
  left: 55%;
}


.username,
.password {
  width: 3.3rem;
  height: 0.4rem;
  font-size: 0.16rem;
  border: none;
  background-color: transparent;
  color: #fff;
  text-indent: 0.5rem;
}

.layui-input:focus {
  filter: drop-shadow(2px 2px 6px rgba(39, 218, 209, 0.3));

}

.layui-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  filter: drop-shadow(4px 4px 6px #1e2424);
}

.btn-info {
  width: 3.3rem;
  height: 0.4rem;
  border-radius: 0.04rem;
  background: linear-gradient(180deg, rgba(86, 255, 255, 1) 0%, rgba(29, 122, 122, 1) 100%);
  cursor: pointer;
  color: #fff;
  text-align: center;
  font-size: 0.18rem;
  line-height: 0.4rem;
}



#login-msg {
  text-align: center;
  color: #3deaea;
  font-size: 14px;
  position: absolute;
  top: 4.2rem;
  width: 100%;
}

.layui-form-item {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0.4rem 0;
}

.input-item>img {
  width: 0.18rem;
  height: 0.20rem;
  position: absolute;
  left: 0.2rem;
}


.input-item {
  width: 3.3rem;
  border-radius: 0.04rem;
  background-color: #003343;
  border: 1px solid #3B7674;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.login-title {
  color: #59EEFF;
  font-weight: 600;
  font-size: 0.26rem;
  text-align: center;
  cursor: default;
  margin: 0.8rem 0 0.6rem 0;
}


/* 卡片特效封装样式 */

.gradient-card {

  color: #E2F1FF;
  cursor: pointer;
  position: relative;
  transition: color 1s;
  overflow: hidden;

  &::before,
  &::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    top: 0;
    left: 0;
    box-sizing: border-box;
    border: 0.01rem solid transparent;
  }

  &:hover {
    transition: all 0.3s;
    color: #ccfffc;
    transform: translateY(-0.01rem);
    box-shadow: 4px 4px 10px 2px #181818;
    animation: hueRotate 4s infinite alternate;

    & img {
      transition: all 0.3s;
      filter: drop-shadow(0 0 5px #00ffc3) drop-shadow(3px 3px 2px #000);
    }

    &::before {
      transition: width 0.25s, height 0.25s, border-bottom-color 0s;
      transition-delay: 0.25s, 0s, 0.25s;
      height: 100%;
      width: 100%;
      border-left: 0.01rem solid #00e2ff;
      border-bottom: 0.01rem solid #00ffdd;
    }

    &::after {
      transition: width 0.25s, height 0.25s, border-right-color 0.25s;
      transition-delay: 0s, 0.25s, 0.25s;
      height: 100%;
      width: 100%;
      border-top: 0.01rem solid #00e2ff;
      border-right: 0.01rem solid #00e2ff;
    }
  }

}


@keyframes hueRotate {
  100% {
    filter: hue-rotate(30deg);
  }
}


.logout {
  position: absolute;
  top: 0.1rem;
  right: 0.3rem;
}

/* 卡片特效封装样式 */